SELECT LAST_VALUE(c1) OVER(PARTITION BY c8 ORDER BY c1 RANGE BETWEEN CURRENT ROW AND CURRENT ROW) FROM "t_alltype.parquet"